﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FineSoft.ViewModels
{
	public class Page : GalaSoft.MvvmLight.ViewModelBase
	{
		private FineSoft.Models.Document _Document;
		public FineSoft.Models.Document Document
		{
			get
			{
				if (this._Document == null)
					this._Document = new Models.Document(/*this.FilePath*/);
				return this._Document;
			}
		}

		public Page(FineSoft.Models.File file)
		{
			this.Document.File = file;
		}

		//private Converters.BooleanToVisibility _BooleanToVisibilityConverter;
		//public Converters.BooleanToVisibility BooleanToVisibilityConverter
		//{
		//    get
		//    {
		//        if (this._BooleanToVisibilityConverter == null)
		//            this._BooleanToVisibilityConverter = new Converters.BooleanToVisibility();
		//        return this._BooleanToVisibilityConverter;
		//    }
		//}
	}
}